
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="/static/common/common.jsp"%>
    <script src="/static/js/system/layout/bigClient.js"></script>
    <title>Title</title>
</head>
<body>
<table id="bigClient_dataGrid"></table>

<div id="bigClient_toolbar">
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="show" onclick="show()">查看</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="remove">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="contract">签约</a>
    学校名称:
    <input class="easyui-textbox" style="width:120px" prompt="请输入学校名称" id="keyword">
    学校类型:
    <input class="easyui-combobox" style="width:120px" editable="false" id="schooleTypeId"
               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=23',valueField:'id', textField:'name',panelHeight:'auto'" >
    营销人员:
    <input class="easyui-combobox" style="width:120px" editable="false" id="marketingPersonId"
           data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
    状态:
    <input class="easyui-combobox" style="width:120px" id="state"
           data-options="data:[{value:2,text:'已签约'},{value:1,text:'暂时没有签约'}]
                                    ,valueField:'value', textField:'text',panelHeight:'auto'" >
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="query">搜索</a>
</div>


<%--员工添加和编辑对话框--%>
<div id="bigClient_dialog">
    <form id="bigClient_form" method="POST" style="padding:20px">
        <input id="bigClientId" type="hidden" name="id">
        <fieldset>
            <legend>基本信息</legend>
            <table align="center">
                <tr>
                    <td>学校名称:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="schoolName"></td>
                    <td>学校简称:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="schoolAbbreviation"></td>
                    <td>学校类型:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="schooleType.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=23',valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>学历:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="educationBackground.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=10',valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>营销人员:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="marketingPerson.id"
                               data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'">
                    </td>
                    <td>跟进人员:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="followUpPerson.id"
                               data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>学校信息</legend>
            <table align="center" >
                <tr>
                    <td>办学性质:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="schooleNature.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=23',valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>创立时间:</td>
                    <td><input id="time" class="easyui-datebox" style="width:150px" editable="false" name="schooleFoundTime"></td>
                    <td>重要等级:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="importantGrade.id"
                             data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=25',valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
              </tr>
             <tr>
                 <td>学制:</td>
                 <td><input class="easyui-combobox com" style="width:150px" editable="false" name="eductionalSystme.id"
                            data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=24',valueField:'id', textField:'name',panelHeight:'auto'" >
                 </td>
                 <td>学校地址:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="schoolSite"></td>
                 <td>邮政编码:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="postalCode"></td>
             </tr>
            <tr>
                 <td>电话:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="phone"></td>
                 <td>传真:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="fax"></td>
                 <td>邮箱:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="email"></td>
            </tr>
             <tr>
                 <td>学校主页:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="mainPage"></td>
                 <td>校长:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="schoolePrincipal"></td>
                 <td>状态:</td>
                 <td><input class="easyui-combobox com" style="width:150px" name="state"
                           data-options="data:[{value:2,text:'已签约'},{value:1,text:'暂时没有签约'}]
                                        ,valueField:'value', textField:'text',panelHeight:'auto'" >
                 </td>
             </tr>
             <tr>
                 <td>学生数:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="studentNumber"></td>
                 <td>IT学生数:</td>
                 <td><input class="easyui-textbox text" style="width:150px" name="studentNumberIT"></td>
             </tr>
         </table>
     </fieldset>
     <fieldset>
         <legend>其它信息</legend>
         <table align="center">
             <tr>
                 <td>学校简介:</td>
                 <td><input class="easyui-textbox text" style="width:600px; height:100px;" multiline="true" name="schooleIntroduction"></td>
             </tr>
             <tr>
                 <td>备注:</td>
                 <td><input class="easyui-textbox text" style="width:600px; height:100px;"  multiline="true" name="remark"></td>
             </tr>
         </table>
     </fieldset>
    </form>
</div>

<div id="bigClient_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="save" >保存</a>
    <a href="#" class="easyui-linkbutton" data-cmd="close_dialog" >关闭</a>
</div>

</body>
</html>
